﻿using Domain;
using Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Application.AppService.HFAppService
{
	public interface IHFAppService
	{
		HFQuery SelectHFQAsync(string zhi);


		HFFenYE HFfenye(string firstKindName, string secondKindName, string thirdKindName, DateTime startDate, DateTime endDate, int page, int pageSize);


		Task<bool> AddHFAsync(HF hf);
		HFFenYE FenYeHFAsync(int zt, int page, int pageSize);
		Task<bool> UpdateHFAsync(HF hf);
		HFFenYE FenYeHFTJAsync(string firstKindName, string secondKindName, string thirdKindName, DateTime startDate, DateTime endDate, int page, int pageSize, int zt);
		HFFenYE FenYeHFGJZAsync(int page, int pageSize, int zt, string gjz);

	
        //修改薪酬发放登记状态
        Task<bool> RemoveHFQAsyncHFS(string humanId, double DemandSalaraySum, double PaidSalarySum);

        //根据档案编号查询出来对应的薪酬发放编号
        Task<string> GetSalaryGrantIdAsync(string HumanId);
		HFFenYE HFFenYEZTAsync(string firstKindName, string secondKindName, string thirdKindName, string majorKindName, string majorName, DateTime startDate, DateTime endDate, int page, int pageSize, int zt1, int zt2);
		HFFenYE FenYeHFGJZZTAsync(int page, int pageSize, int zt1, int zt2, string gjz);
		Task<bool> UpdateHFZTAsync(HF hf);
		Task<bool> DeleteHFAsync(int id);
		Task<bool> UpdateHFMC(HF hF);
	}

}

